<?php

/**
 * Auth item child form class file.
 *
 * @author Christoffer Niska <cniska@live.com>
 * @copyright Copyright &copy; 2010 Christoffer Niska
 * @since 0.9
 */
class AuthChildForm extends CFormModel {

    public $itemname;

    /**
     * Declares the validation rules.
     */
    public function rules() {
        return array(
            array('itemname', 'safe'),
        );
    }

    /**
     * Declares attribute labels.
     */
    public function attributeLabels() {
        return array(
            'itemname' => Rights::t('core', 'Authorization item'),
        );
    }

}
